﻿package com.woniuxy.main.pojo;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//分页查询工具类
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Page <T> {
	
	private int index;		//起始位置
	private int count;		//每一页的条数
	private int total;		//总条数
	private List<T> data;	//保存当前页的数据
	private int currentPage;//当前页
}
